package homeworkoo01;

public class Student {
    String name;
    int age;
    String address;
    String className;


    Student(){ }
    Student(String name,int age,String address, String className){
        this.name=name;
        this.age=age;
        this.address=address;
        this.className=className;
    }
    void study(){
        System.out.println(name+"在学习");
    }
    void sayHi(){
        System.out.println("大家好我叫"+name+"，今年"+age+"岁了，来自"+address+"我的班级是"+className);
    }
    void playWith(){
        System.out.println(name+"喜欢张三");
    }

}
